package com.ps.pojo.setting;

/**
 * UnqueNumber entity. @author MyEclipse Persistence Tools
 */

public class UnqueNumber implements java.io.Serializable {

	// Fields

	private Integer unId;
	private String name;
	private String nameCode;
	private String prefix;
	private Long codeValue;
	private String suffix;
	private Integer codeMaxLengh;

	// Constructors

	/** default constructor */
	public UnqueNumber() {
	}

	/** minimal constructor */
	public UnqueNumber(String name, String nameCode, Long codeValue,
			Integer codeMaxLengh) {
		this.name = name;
		this.nameCode = nameCode;
		this.codeValue = codeValue;
		this.codeMaxLengh = codeMaxLengh;
	}

	/** full constructor */
	public UnqueNumber(String name, String nameCode, String prefix,
			Long codeValue, String suffix, Integer codeMaxLengh) {
		this.name = name;
		this.nameCode = nameCode;
		this.prefix = prefix;
		this.codeValue = codeValue;
		this.suffix = suffix;
		this.codeMaxLengh = codeMaxLengh;
	}

	// Property accessors

	public Integer getUnId() {
		return this.unId;
	}

	public void setUnId(Integer unId) {
		this.unId = unId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNameCode() {
		return this.nameCode;
	}

	public void setNameCode(String nameCode) {
		this.nameCode = nameCode;
	}

	public String getPrefix() {
		return this.prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public Long getCodeValue() {
		return this.codeValue;
	}

	public void setCodeValue(Long codeValue) {
		this.codeValue = codeValue;
	}

	public String getSuffix() {
		return this.suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public Integer getCodeMaxLengh() {
		return this.codeMaxLengh;
	}

	public void setCodeMaxLengh(Integer codeMaxLengh) {
		this.codeMaxLengh = codeMaxLengh;
	}

}